home *** CD-ROM | disk | FTP | other *** search
- Hello..
-
- I hope that someone can help me with my 100s of problems in Amos before
- I completely lose my mind!
-
- 1) I am writing an adventure game. The main program is about 100k of
- Amos Pro code with another 80k (ish) of data containing all the
- locations, objects, moving characters etc. I have an incredibly large
- SET BUFFER command at the beginning (although how big unfortunately
- escapes me at the moment - sorry!). During the game it executes a loop
- defined with EVERY 25 PROCmove (or something similar) - ie every 1/2
- second it runs a procedure to move the mobiles around the game. Also
- there are several lines such as "If Rnd(25000)=1 Then WEATHER" to
- control various random events such as the weather etc..
-
- Anyway, when I run it from Amos Pro it works perfectly except that I get
- a Guru after several seconds of playing the game. If I compile it, then
- the game does not crash, although in most verbose descriptions it somehow
- plonks a great chunk of text in the middle. The location descriptions are
- defined in an array as ROOMS$(LMAX,2) where LMAX is the number of locations.
- The first part of it is the brief location and the second the verbose (if
- this makes sense...). However, in any verbose descriptions longer than a few
- lines it will insert a random line (or just over) from the LAST verbose
- description into it!?
-
- I actually sent this program to Europress who looked at it (apparently)
- and send it back saying there was nothing wrong with it (!!??). This is
- really pissing me off as I've been writing this game for about a year
- now and, although it is crap, it is quite big! Oh, this is compiling it
- WITHOUT using the SQUASHER (or cruncher or whatever they call it)
- because if I do I can't remember what happens, but I know it's worse!!
-
- Perhaps with all these hundreds of things going on (like random loops
- and this EVERY thing) it's all getting a bit bogged down with it all or
- something. God knows. Anyway, my setup is a standard A1200 (with extra
- disk drive in case you're interested) and that's it. It also does not
- work on a standard A500 and A4000/30.
-
- Is it me or Amos? And if it's Amos is there either anything I can do or
- has anyone got Francois Lionet's address so I can send him a bomb in the
- post?
-
- (Sorry this message was so long, I'll leave another message with the
- other problems in case this crappy PC crashes)
- --
- Semprini
-
-